package com.senven.api.commom;

/**
 * 还没用到
 */
public enum   ResponseCode {
    ERROR(-1,"ERROR"),
    SUCCESS(0, "SUCCESS"),
    FAIL(1, "FAIL"),
    SOLVING(2, "SOLVING"),
    NEED_LOGIN(3, "NEED_LOGIN"),
    ENUM_ERROR(4, "ENUM_ERROR"),
    ILLEGAL_ARGUMENT(10, "ILLEGAL_ARGUMENT");

    private Integer code;
    private String desc;

    ResponseCode(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
